package com.xuecheng.system.web.exception;

import com.xuecheng.commons.enums.ErrorCode;
import lombok.Data;

@Data
public class BusinessException extends RuntimeException{
    private ErrorCode code;
    public BusinessException(ErrorCode code){
        this.code=code;
    }
}
